/*
 * Created on 2006-2-23
 *
 */
package org.faquir.license.util;

public class CodeFactory
{
    private static int i = 0;
    
    private static CodePair[] codePairs = {
            new CodePair(new char[]{ 0xF5, 0x27, 0x4F, 0x8F }, new char[]{ 0x69, 0x02, 0x60, 0xDC } ),
            new CodePair(new char[]{ 0xD6, 0x61, 0x4B, 0xD9 }, new char[]{ 0x6B, 0x22, 0x48, 0xE9 } ),
            new CodePair( new char[]{ 0x7A, 0x29, 0x12, 0x64 }, new char[]{ 0x0E, 0xEE, 0x2D, 0x7C } ),
    }; 
    public static CodePair getCodePare()
    {
        CodeFactory.i = CodeFactory.i % 3;
        return codePairs[CodeFactory.i++];
    }
}
